<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.py.editwindow</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.py-module.html">Package&nbsp;py</a> ::
        Module&nbsp;editwindow
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.py.editwindow-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="Priithon.py.editwindow-module.html">Module Priithon.py.editwindow</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">"""EditWindow class."""</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"Patrick K. O'Brien &lt;pobrien@orbtech.com&gt;"</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable Priithon.py.PyAlaCarte.__cvsid__=Priithon.py.PyAlaCarte-module.html#__cvsid__,Variable Priithon.py.PyAlaMode.__cvsid__=Priithon.py.PyAlaMode-module.html#__cvsid__,Variable Priithon.py.PyAlaModeTest.__cvsid__=Priithon.py.PyAlaModeTest-module.html#__cvsid__,Variable Priithon.py.PyCrust.__cvsid__=Priithon.py.PyCrust-module.html#__cvsid__,Variable Priithon.py.PyFilling.__cvsid__=Priithon.py.PyFilling-module.html#__cvsid__,Variable Priithon.py.PyShell.__cvsid__=Priithon.py.PyShell-module.html#__cvsid__,Variable Priithon.py.PyWrap.__cvsid__=Priithon.py.PyWrap-module.html#__cvsid__,Variable Priithon.py.__cvsid__=Priithon.py-module.html#__cvsid__,Variable Priithon.py.buffer.__cvsid__=Priithon.py.buffer-module.html#__cvsid__,Variable Priithon.py.crust.__cvsid__=Priithon.py.crust-module.html#__cvsid__,Variable Priithon.py.dispatcher.__cvsid__=Priithon.py.dispatcher-module.html#__cvsid__,Variable Priithon.py.document.__cvsid__=Priithon.py.document-module.html#__cvsid__,Variable Priithon.py.editor.__cvsid__=Priithon.py.editor-module.html#__cvsid__,Variable Priithon.py.editwindow.__cvsid__=Priithon.py.editwindow-module.html#__cvsid__,Variable Priithon.py.filling.__cvsid__=Priithon.py.filling-module.html#__cvsid__,Variable Priithon.py.frame.__cvsid__=Priithon.py.frame-module.html#__cvsid__,Variable Priithon.py.images.__cvsid__=Priithon.py.images-module.html#__cvsid__,Variable Priithon.py.interpreter.__cvsid__=Priithon.py.interpreter-module.html#__cvsid__,Variable Priithon.py.introspect.__cvsid__=Priithon.py.introspect-module.html#__cvsid__,Variable Priithon.py.pseudo.__cvsid__=Priithon.py.pseudo-module.html#__cvsid__,Variable Priithon.py.shell.__cvsid__=Priithon.py.shell-module.html#__cvsid__,Variable Priithon.py.version.__cvsid__=Priithon.py.version-module.html#__cvsid__"><a title="Priithon.py.PyAlaCarte.__cvsid__
Priithon.py.PyAlaMode.__cvsid__
Priithon.py.PyAlaModeTest.__cvsid__
Priithon.py.PyCrust.__cvsid__
Priithon.py.PyFilling.__cvsid__
Priithon.py.PyShell.__cvsid__
Priithon.py.PyWrap.__cvsid__
Priithon.py.__cvsid__
Priithon.py.buffer.__cvsid__
Priithon.py.crust.__cvsid__
Priithon.py.dispatcher.__cvsid__
Priithon.py.document.__cvsid__
Priithon.py.editor.__cvsid__
Priithon.py.editwindow.__cvsid__
Priithon.py.filling.__cvsid__
Priithon.py.frame.__cvsid__
Priithon.py.images.__cvsid__
Priithon.py.interpreter.__cvsid__
Priithon.py.introspect.__cvsid__
Priithon.py.pseudo.__cvsid__
Priithon.py.shell.__cvsid__
Priithon.py.version.__cvsid__" class="py-name" href="#" onclick="return doclink('link-0', '__cvsid__', 'link-0');">__cvsid__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Id: editwindow.py,v 1.10 2004/03/26 19:26:34 RD Exp $"</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable Priithon.py.PyAlaCarte.__revision__=Priithon.py.PyAlaCarte-module.html#__revision__,Variable Priithon.py.PyAlaMode.__revision__=Priithon.py.PyAlaMode-module.html#__revision__,Variable Priithon.py.PyAlaModeTest.__revision__=Priithon.py.PyAlaModeTest-module.html#__revision__,Variable Priithon.py.PyCrust.__revision__=Priithon.py.PyCrust-module.html#__revision__,Variable Priithon.py.PyFilling.__revision__=Priithon.py.PyFilling-module.html#__revision__,Variable Priithon.py.PyShell.__revision__=Priithon.py.PyShell-module.html#__revision__,Variable Priithon.py.PyWrap.__revision__=Priithon.py.PyWrap-module.html#__revision__,Variable Priithon.py.__revision__=Priithon.py-module.html#__revision__,Variable Priithon.py.buffer.__revision__=Priithon.py.buffer-module.html#__revision__,Variable Priithon.py.crust.__revision__=Priithon.py.crust-module.html#__revision__,Variable Priithon.py.dispatcher.__revision__=Priithon.py.dispatcher-module.html#__revision__,Variable Priithon.py.document.__revision__=Priithon.py.document-module.html#__revision__,Variable Priithon.py.editor.__revision__=Priithon.py.editor-module.html#__revision__,Variable Priithon.py.editwindow.__revision__=Priithon.py.editwindow-module.html#__revision__,Variable Priithon.py.filling.__revision__=Priithon.py.filling-module.html#__revision__,Variable Priithon.py.frame.__revision__=Priithon.py.frame-module.html#__revision__,Variable Priithon.py.images.__revision__=Priithon.py.images-module.html#__revision__,Variable Priithon.py.interpreter.__revision__=Priithon.py.interpreter-module.html#__revision__,Variable Priithon.py.introspect.__revision__=Priithon.py.introspect-module.html#__revision__,Variable Priithon.py.pseudo.__revision__=Priithon.py.pseudo-module.html#__revision__,Variable Priithon.py.shell.__revision__=Priithon.py.shell-module.html#__revision__,Variable Priithon.py.version.__revision__=Priithon.py.version-module.html#__revision__"><a title="Priithon.py.PyAlaCarte.__revision__
Priithon.py.PyAlaMode.__revision__
Priithon.py.PyAlaModeTest.__revision__
Priithon.py.PyCrust.__revision__
Priithon.py.PyFilling.__revision__
Priithon.py.PyShell.__revision__
Priithon.py.PyWrap.__revision__
Priithon.py.__revision__
Priithon.py.buffer.__revision__
Priithon.py.crust.__revision__
Priithon.py.dispatcher.__revision__
Priithon.py.document.__revision__
Priithon.py.editor.__revision__
Priithon.py.editwindow.__revision__
Priithon.py.filling.__revision__
Priithon.py.frame.__revision__
Priithon.py.images.__revision__
Priithon.py.interpreter.__revision__
Priithon.py.introspect.__revision__
Priithon.py.pseudo.__revision__
Priithon.py.shell.__revision__
Priithon.py.version.__revision__" class="py-name" href="#" onclick="return doclink('link-1', '__revision__', 'link-1');">__revision__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Revision: 1.10 $"</tt><tt class="py-op">[</tt><tt class="py-number">11</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">wx</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">wx</tt> <tt class="py-keyword">import</tt> <tt class="py-name">stc</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">keyword</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">time</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Module Priithon.py.dispatcher=Priithon.py.dispatcher-module.html"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-2', 'dispatcher', 'link-2');">dispatcher</a></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-3" class="py-name" targets="Module Priithon.py.version=Priithon.py.version-module.html"><a title="Priithon.py.version" class="py-name" href="#" onclick="return doclink('link-3', 'version', 'link-3');">version</a></tt> <tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Variable Priithon.py.version.VERSION=Priithon.py.version-module.html#VERSION"><a title="Priithon.py.version.VERSION" class="py-name" href="#" onclick="return doclink('link-4', 'VERSION', 'link-4');">VERSION</a></tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="Priithon.py.version.VERSION" class="py-name" href="#" onclick="return doclink('link-5', 'VERSION', 'link-4');">VERSION</a></tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> <tt class="py-op">&lt;</tt> <tt class="py-op">(</tt><tt class="py-number">2</tt><tt class="py-op">,</tt><tt class="py-number">6</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-comment"># seb</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Platform</tt> <tt class="py-op">==</tt> <tt class="py-string">'__WXMSW__'</tt><tt class="py-op">:</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">        <tt id="link-6" class="py-name" targets="Variable Priithon.py.editwindow.FACES=Priithon.py.editwindow-module.html#FACES"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-6', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>  <tt class="py-op">:</tt> <tt class="py-string">'Times New Roman'</tt><tt class="py-op">,</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'Courier New'</tt><tt class="py-op">,</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'Lucida Console'</tt><tt class="py-op">,</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">                  <tt class="py-string">'lucida'</tt> <tt class="py-op">:</tt> <tt class="py-string">'Lucida Console'</tt><tt class="py-op">,</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>  <tt class="py-op">:</tt> <tt class="py-string">'Comic Sans MS'</tt><tt class="py-op">,</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>   <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt> <tt class="py-op">:</tt> <tt class="py-number">9</tt><tt class="py-op">,</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt><tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">                  <tt class="py-op">}</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt>  <tt class="py-comment"># GTK</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">        <tt id="link-7" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-7', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>  <tt class="py-op">:</tt> <tt class="py-string">'Times'</tt><tt class="py-op">,</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'Courier'</tt><tt class="py-op">,</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'Helvetica'</tt><tt class="py-op">,</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>  <tt class="py-op">:</tt> <tt class="py-string">'new century schoolbook'</tt><tt class="py-op">,</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>   <tt class="py-op">:</tt> <tt class="py-number">12</tt><tt class="py-op">,</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt> <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt><tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt>                   </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">                  <tt class="py-op">}</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-keyword">else</tt><tt class="py-op">:</tt> <tt class="py-comment">#seb</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-string">'wxMSW'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">PlatformInfo</tt><tt class="py-op">:</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">        <tt id="link-8" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-8', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'Times New Roman'</tt><tt class="py-op">,</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Courier New'</tt><tt class="py-op">,</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Arial'</tt><tt class="py-op">,</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">                  <tt class="py-string">'lucida'</tt>    <tt class="py-op">:</tt> <tt class="py-string">'Lucida Console'</tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'Comic Sans MS'</tt><tt class="py-op">,</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>      <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt>    <tt class="py-op">:</tt> <tt class="py-number">8</tt><tt class="py-op">,</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">                <tt class="py-op">}</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt class="py-string">'wxGTK'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">PlatformInfo</tt> <tt class="py-keyword">and</tt> <tt class="py-string">'gtk2'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">PlatformInfo</tt><tt class="py-op">:</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt id="link-9" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-9', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'Serif'</tt><tt class="py-op">,</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Monospace'</tt><tt class="py-op">,</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Sans'</tt><tt class="py-op">,</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'new century schoolbook'</tt><tt class="py-op">,</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>      <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt>    <tt class="py-op">:</tt> <tt class="py-number">9</tt><tt class="py-op">,</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">                <tt class="py-op">}</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt class="py-string">'wxMac'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">PlatformInfo</tt><tt class="py-op">:</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt id="link-10" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-10', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'Lucida Grande'</tt><tt class="py-op">,</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Courier New'</tt><tt class="py-op">,</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Geneva'</tt><tt class="py-op">,</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'new century schoolbook'</tt><tt class="py-op">,</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>      <tt class="py-op">:</tt> <tt class="py-number">13</tt><tt class="py-op">,</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt>    <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">                <tt class="py-op">}</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> <tt class="py-comment"># GTK1, etc.</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt id="link-11" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-11', 'FACES', 'link-6');">FACES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> <tt class="py-string">'times'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'Times'</tt><tt class="py-op">,</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">                  <tt class="py-string">'mono'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Courier'</tt><tt class="py-op">,</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">                  <tt class="py-string">'helv'</tt>      <tt class="py-op">:</tt> <tt class="py-string">'Helvetica'</tt><tt class="py-op">,</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">                  <tt class="py-string">'other'</tt>     <tt class="py-op">:</tt> <tt class="py-string">'new century schoolbook'</tt><tt class="py-op">,</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">                  <tt class="py-string">'size'</tt>      <tt class="py-op">:</tt> <tt class="py-number">12</tt><tt class="py-op">,</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">                  <tt class="py-string">'lnsize'</tt>    <tt class="py-op">:</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">                  <tt class="py-string">'backcol'</tt>   <tt class="py-op">:</tt> <tt class="py-string">'#FFFFFF'</tt><tt class="py-op">,</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">                  <tt class="py-string">'calltipbg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#FFFFB8'</tt><tt class="py-op">,</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">                  <tt class="py-string">'calltipfg'</tt> <tt class="py-op">:</tt> <tt class="py-string">'#404040'</tt><tt class="py-op">,</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">                <tt class="py-op">}</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"> </tt>
<a name="EditWindow"></a><div id="EditWindow-def"><a name="L96"></a><tt class="py-lineno"> 96</tt> <a class="py-toggle" href="#" id="EditWindow-toggle" onclick="return toggle('EditWindow');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html">EditWindow</a><tt class="py-op">(</tt><tt class="py-base-class">stc</tt><tt class="py-op">.</tt><tt class="py-base-class">StyledTextCtrl</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditWindow-expanded"><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">    <tt class="py-docstring">"""EditWindow based on StyledTextCtrl."""</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">    <tt id="link-12" class="py-name" targets="Variable Priithon.py.crust.Crust.revision=Priithon.py.crust.Crust-class.html#revision,Variable Priithon.py.crust.CrustFrame.revision=Priithon.py.crust.CrustFrame-class.html#revision,Variable Priithon.py.editwindow.EditWindow.revision=Priithon.py.editwindow.EditWindow-class.html#revision,Variable Priithon.py.filling.Filling.revision=Priithon.py.filling.Filling-class.html#revision,Variable Priithon.py.filling.FillingFrame.revision=Priithon.py.filling.FillingFrame-class.html#revision,Variable Priithon.py.filling.FillingText.revision=Priithon.py.filling.FillingText-class.html#revision,Variable Priithon.py.filling.FillingTree.revision=Priithon.py.filling.FillingTree-class.html#revision,Variable Priithon.py.frame.Frame.revision=Priithon.py.frame.Frame-class.html#revision,Variable Priithon.py.interpreter.Interpreter.revision=Priithon.py.interpreter.Interpreter-class.html#revision,Variable Priithon.py.shell.Shell.revision=Priithon.py.shell.Shell-class.html#revision,Variable Priithon.py.shell.ShellFacade.revision=Priithon.py.shell.ShellFacade-class.html#revision,Variable Priithon.py.shell.ShellFrame.revision=Priithon.py.shell.ShellFrame-class.html#revision"><a title="Priithon.py.crust.Crust.revision
Priithon.py.crust.CrustFrame.revision
Priithon.py.editwindow.EditWindow.revision
Priithon.py.filling.Filling.revision
Priithon.py.filling.FillingFrame.revision
Priithon.py.filling.FillingText.revision
Priithon.py.filling.FillingTree.revision
Priithon.py.frame.Frame.revision
Priithon.py.interpreter.Interpreter.revision
Priithon.py.shell.Shell.revision
Priithon.py.shell.ShellFacade.revision
Priithon.py.shell.ShellFrame.revision" class="py-name" href="#" onclick="return doclink('link-12', 'revision', 'link-12');">revision</a></tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name"><a title="Priithon.py.PyAlaCarte.__revision__
Priithon.py.PyAlaMode.__revision__
Priithon.py.PyAlaModeTest.__revision__
Priithon.py.PyCrust.__revision__
Priithon.py.PyFilling.__revision__
Priithon.py.PyShell.__revision__
Priithon.py.PyWrap.__revision__
Priithon.py.__revision__
Priithon.py.buffer.__revision__
Priithon.py.crust.__revision__
Priithon.py.dispatcher.__revision__
Priithon.py.document.__revision__
Priithon.py.editor.__revision__
Priithon.py.editwindow.__revision__
Priithon.py.filling.__revision__
Priithon.py.frame.__revision__
Priithon.py.images.__revision__
Priithon.py.interpreter.__revision__
Priithon.py.introspect.__revision__
Priithon.py.pseudo.__revision__
Priithon.py.shell.__revision__
Priithon.py.version.__revision__" class="py-name" href="#" onclick="return doclink('link-13', '__revision__', 'link-1');">__revision__</a></tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.__init__"></a><div id="EditWindow.__init__-def"><a name="L101"></a><tt class="py-lineno">101</tt> <a class="py-toggle" href="#" id="EditWindow.__init__-toggle" onclick="return toggle('EditWindow.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">                 <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultSize</tt><tt class="py-op">,</tt> <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CLIP_CHILDREN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">SUNKEN_BORDER</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.__init__-expanded"><a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditWindow instance."""</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">StyledTextCtrl</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method Priithon.DragAndDrop.ClipTextPanel.__init__()=Priithon.DragAndDrop.ClipTextPanel-class.html#__init__,Method Priithon.DragAndDrop.FileDropPanel.__init__()=Priithon.DragAndDrop.FileDropPanel-class.html#__init__,Method Priithon.DragAndDrop.MyFileDropTarget.__init__()=Priithon.DragAndDrop.MyFileDropTarget-class.html#__init__,Method Priithon.Mrc.Mrc.__init__()=Priithon.Mrc.Mrc-class.html#__init__,Method Priithon.Mrc.Mrc2.__init__()=Priithon.Mrc.Mrc2-class.html#__init__,Method Priithon.Scientific_IO_TextFile.TextFile.__init__()=Priithon.Scientific_IO_TextFile.TextFile-class.html#__init__,Method Priithon.buttonbox._buttonBox.__init__()=Priithon.buttonbox._buttonBox-class.html#__init__,Method Priithon.fileDropPopup.FileDropTarget.__init__()=Priithon.fileDropPopup.FileDropTarget-class.html#__init__,Method Priithon.gridviewer.ArrayGrid.__init__()=Priithon.gridviewer.ArrayGrid-class.html#__init__,Method Priithon.gridviewer.HugeTable.__init__()=Priithon.gridviewer.HugeTable-class.html#__init__,Method Priithon.gridviewer.HugeTableGrid.__init__()=Priithon.gridviewer.HugeTableGrid-class.html#__init__,Method Priithon.guiExceptionFrame.MyFrame.__init__()=Priithon.guiExceptionFrame.MyFrame-class.html#__init__,Method Priithon.guiInfoFrame.HtmlInfoFrame.__init__()=Priithon.guiInfoFrame.HtmlInfoFrame-class.html#__init__,Method Priithon.guiInfoFrame.HtmlWindow.__init__()=Priithon.guiInfoFrame.HtmlWindow-class.html#__init__,Method Priithon.guiParams.guiParams.__init__()=Priithon.guiParams.guiParams-class.html#__init__,Method Priithon.histogram.HistogramCanvas.__init__()=Priithon.histogram.HistogramCanvas-class.html#__init__,Method Priithon.histogram.MyCanvasBase.__init__()=Priithon.histogram.MyCanvasBase-class.html#__init__,Method Priithon.mmviewer.GLViewer.__init__()=Priithon.mmviewer.GLViewer-class.html#__init__,Method Priithon.mockNDarray.mockNDarray.__init__()=Priithon.mockNDarray.mockNDarray-class.html#__init__,Method Priithon.ndarray_meta.nd_meta_attribute.__init__()=Priithon.ndarray_meta.nd_meta_attribute-class.html#__init__,Method Priithon.plt.dumb_shelve.DbfilenameShelf.__init__()=Priithon.plt.dumb_shelve.DbfilenameShelf-class.html#__init__,Method Priithon.plt.dumbdbm_patched._Database.__init__()=Priithon.plt.dumbdbm_patched._Database-class.html#__init__,Method Priithon.plt.plot_objects.axis_object.__init__()=Priithon.plt.plot_objects.axis_object-class.html#__init__,Method Priithon.plt.plot_objects.axis_window.__init__()=Priithon.plt.plot_objects.axis_window-class.html#__init__,Method Priithon.plt.plot_objects.border_object.__init__()=Priithon.plt.plot_objects.border_object-class.html#__init__,Method Priithon.plt.plot_objects.graphic_list.__init__()=Priithon.plt.plot_objects.graphic_list-class.html#__init__,Method Priithon.plt.plot_objects.image_object.__init__()=Priithon.plt.plot_objects.image_object-class.html#__init__,Method Priithon.plt.plot_objects.legend_object.__init__()=Priithon.plt.plot_objects.legend_object-class.html#__init__,Method Priithon.plt.plot_objects.line_object.__init__()=Priithon.plt.plot_objects.line_object-class.html#__init__,Method Priithon.plt.plot_objects.poly_line.__init__()=Priithon.plt.plot_objects.poly_line-class.html#__init__,Method Priithon.plt.plot_objects.poly_marker.__init__()=Priithon.plt.plot_objects.poly_marker-class.html#__init__,Method Priithon.plt.plot_objects.poly_points.__init__()=Priithon.plt.plot_objects.poly_points-class.html#__init__,Method Priithon.plt.plot_objects.text_object.__init__()=Priithon.plt.plot_objects.text_object-class.html#__init__,Method Priithon.plt.plot_objects.text_window.__init__()=Priithon.plt.plot_objects.text_window-class.html#__init__,Method Priithon.plt.plot_utility.box_object.__init__()=Priithon.plt.plot_utility.box_object-class.html#__init__,Method Priithon.plt.plot_utility.point_object.__init__()=Priithon.plt.plot_utility.point_object-class.html#__init__,Method Priithon.plt.plot_utility.property_object.__init__()=Priithon.plt.plot_utility.property_object-class.html#__init__,Method Priithon.plt.wxplt.graph_printout.__init__()=Priithon.plt.wxplt.graph_printout-class.html#__init__,Method Priithon.plt.wxplt.plot_canvas.__init__()=Priithon.plt.wxplt.plot_canvas-class.html#__init__,Method Priithon.plt.wxplt.plot_frame.__init__()=Priithon.plt.wxplt.plot_frame-class.html#__init__,Method Priithon.py.PyAlaCarte.App.__init__()=Priithon.py.PyAlaCarte.App-class.html#__init__,Method Priithon.py.PyAlaMode.App.__init__()=Priithon.py.PyAlaMode.App-class.html#__init__,Method Priithon.py.PyAlaModeTest.App.__init__()=Priithon.py.PyAlaModeTest.App-class.html#__init__,Method Priithon.py.buffer.Buffer.__init__()=Priithon.py.buffer.Buffer-class.html#__init__,Method Priithon.py.crust.Calltip.__init__()=Priithon.py.crust.Calltip-class.html#__init__,Method Priithon.py.crust.Crust.__init__()=Priithon.py.crust.Crust-class.html#__init__,Method Priithon.py.crust.CrustFrame.__init__()=Priithon.py.crust.CrustFrame-class.html#__init__,Method Priithon.py.crust.DispatcherListing.__init__()=Priithon.py.crust.DispatcherListing-class.html#__init__,Method Priithon.py.crust.Display.__init__()=Priithon.py.crust.Display-class.html#__init__,Method Priithon.py.crust.SessionListing.__init__()=Priithon.py.crust.SessionListing-class.html#__init__,Method Priithon.py.dispatcher.BoundMethodWeakref.__init__()=Priithon.py.dispatcher.BoundMethodWeakref-class.html#__init__,Method Priithon.py.dispatcher.DispatcherError.__init__()=Priithon.py.dispatcher.DispatcherError-class.html#__init__,Method Priithon.py.document.Document.__init__()=Priithon.py.document.Document-class.html#__init__,Method Priithon.py.editor.DialogResults.__init__()=Priithon.py.editor.DialogResults-class.html#__init__,Method Priithon.py.editor.EditWindow.__init__()=Priithon.py.editor.EditWindow-class.html#__init__,Method Priithon.py.editor.Editor.__init__()=Priithon.py.editor.Editor-class.html#__init__,Method Priithon.py.editor.EditorFrame.__init__()=Priithon.py.editor.EditorFrame-class.html#__init__,Method Priithon.py.editor.EditorNotebook.__init__()=Priithon.py.editor.EditorNotebook-class.html#__init__,Method Priithon.py.editor.EditorNotebookFrame.__init__()=Priithon.py.editor.EditorNotebookFrame-class.html#__init__,Method Priithon.py.editor.EditorShellNotebook.__init__()=Priithon.py.editor.EditorShellNotebook-class.html#__init__,Method Priithon.py.editor.EditorShellNotebookFrame.__init__()=Priithon.py.editor.EditorShellNotebookFrame-class.html#__init__,Method Priithon.py.editwindow.EditWindow.__init__()=Priithon.py.editwindow.EditWindow-class.html#__init__,Method Priithon.py.filling.Filling.__init__()=Priithon.py.filling.Filling-class.html#__init__,Method Priithon.py.filling.FillingFrame.__init__()=Priithon.py.filling.FillingFrame-class.html#__init__,Method Priithon.py.filling.FillingText.__init__()=Priithon.py.filling.FillingText-class.html#__init__,Method Priithon.py.filling.FillingTree.__init__()=Priithon.py.filling.FillingTree-class.html#__init__,Method Priithon.py.frame.Frame.__init__()=Priithon.py.frame.Frame-class.html#__init__,Method Priithon.py.interpreter.Interpreter.__init__()=Priithon.py.interpreter.Interpreter-class.html#__init__,Method Priithon.py.interpreter.InterpreterAlaCarte.__init__()=Priithon.py.interpreter.InterpreterAlaCarte-class.html#__init__,Method Priithon.py.pseudo.PseudoFile.__init__()=Priithon.py.pseudo.PseudoFile-class.html#__init__,Method Priithon.py.pseudo.PseudoFileErr.__init__()=Priithon.py.pseudo.PseudoFileErr-class.html#__init__,Method Priithon.py.pseudo.PseudoFileIn.__init__()=Priithon.py.pseudo.PseudoFileIn-class.html#__init__,Method Priithon.py.pseudo.PseudoFileOut.__init__()=Priithon.py.pseudo.PseudoFileOut-class.html#__init__,Method Priithon.py.pseudo.PseudoKeyword.__init__()=Priithon.py.pseudo.PseudoKeyword-class.html#__init__,Method Priithon.py.shell.Shell.__init__()=Priithon.py.shell.Shell-class.html#__init__,Method Priithon.py.shell.ShellFacade.__init__()=Priithon.py.shell.ShellFacade-class.html#__init__,Method Priithon.py.shell.ShellFrame.__init__()=Priithon.py.shell.ShellFrame-class.html#__init__,Method Priithon.readerSPE.File.__init__()=Priithon.readerSPE.File-class.html#__init__,Method Priithon.scalePanel.scalePanel.__init__()=Priithon.scalePanel.scalePanel-class.html#__init__,Method Priithon.splitND.TestTransientPopup.__init__()=Priithon.splitND.TestTransientPopup-class.html#__init__,Method Priithon.splitND.spv.__init__()=Priithon.splitND.spv-class.html#__init__,Method Priithon.splitND2.spv.__init__()=Priithon.splitND2.spv-class.html#__init__,Method Priithon.splitNDcommon.spvCommon.__init__()=Priithon.splitNDcommon.spvCommon-class.html#__init__,Method Priithon.syncViewersGui.syncViewersGui.__init__()=Priithon.syncViewersGui.syncViewersGui-class.html#__init__,Method Priithon.useful.deco_memoized.__init__()=Priithon.useful.deco_memoized-class.html#__init__,Method Priithon.usefulX._listArrayViewer.__init__()=Priithon.usefulX._listArrayViewer-class.html#__init__,Method Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__()=Priithon.usefulX._listFilesViewer.MyFileDropTarget-class.html#__init__,Method Priithon.usefulX._listFilesViewer.__init__()=Priithon.usefulX._listFilesViewer-class.html#__init__,Method Priithon.viewer.GLViewer.__init__()=Priithon.viewer.GLViewer-class.html#__init__,Method Priithon.viewer2.GLViewer2.__init__()=Priithon.viewer2.GLViewer2-class.html#__init__,Method Priithon.viewerCommon.GLViewerCommon.__init__()=Priithon.viewerCommon.GLViewerCommon-class.html#__init__,Method Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__()=Priithon.viewerRubberbandMode.viewerRubberbandMode-class.html#__init__,Method Priithon.wxAsyncDispatcher.DispatcherConnection.__init__()=Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#__init__,Method Priithon.wxAsyncDispatcher.DispatcherServer.__init__()=Priithon.wxAsyncDispatcher.DispatcherServer-class.html#__init__,Method Priithon.wxAsyncDispatcher.MainWindow.__init__()=Priithon.wxAsyncDispatcher.MainWindow-class.html#__init__,Method Priithon.wxPyPlot.FloatDCWrapper.__init__()=Priithon.wxPyPlot.FloatDCWrapper-class.html#__init__,Method Priithon.wxPyPlot.PlotCanvas.__init__()=Priithon.wxPyPlot.PlotCanvas-class.html#__init__,Method Priithon.wxPyPlot.PlotGraphics.__init__()=Priithon.wxPyPlot.PlotGraphics-class.html#__init__,Method Priithon.wxPyPlot.PolyLine.__init__()=Priithon.wxPyPlot.PolyLine-class.html#__init__,Method Priithon.wxPyPlot.PolyMarker.__init__()=Priithon.wxPyPlot.PolyMarker-class.html#__init__,Method Priithon.wxPyPlot.PolyPoints.__init__()=Priithon.wxPyPlot.PolyPoints-class.html#__init__,Method Priithon.wxPyPlot.plot_printout.__init__()=Priithon.wxPyPlot.plot_printout-class.html#__init__,Method Priithon.zslider.ZSlider.__init__()=Priithon.zslider.ZSlider-class.html#__init__"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-14', '__init__', 'link-14');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name" targets="Variable Priithon.py.buffer.Buffer.id=Priithon.py.buffer.Buffer-class.html#id"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-15', 'id', 'link-15');">id</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> <tt id="link-16" class="py-name" targets="Method Priithon.plt.plot_objects.text_object.size()=Priithon.plt.plot_objects.text_object-class.html#size,Method Priithon.plt.plot_utility.box_object.size()=Priithon.plt.plot_utility.box_object-class.html#size,Variable Priithon.viewerRubberbandMode.viewerRubberbandMode.size=Priithon.viewerRubberbandMode.viewerRubberbandMode-class.html#size"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-16', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.__config()=Priithon.py.editwindow.EditWindow-class.html#__config"><a title="Priithon.py.editwindow.EditWindow.__config" class="py-name" href="#" onclick="return doclink('link-17', '__config', 'link-17');">__config</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">EVT_STC_UPDATEUI</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-18" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-18', 'id', 'link-15');">id</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.OnUpdateUI()=Priithon.py.editwindow.EditWindow-class.html#OnUpdateUI"><a title="Priithon.py.editwindow.EditWindow.OnUpdateUI" class="py-name" href="#" onclick="return doclink('link-19', 'OnUpdateUI', 'link-19');">OnUpdateUI</a></tt><tt class="py-op">)</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt id="link-20" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-20', 'dispatcher', 'link-2');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Function Priithon.py.dispatcher.connect()=Priithon.py.dispatcher-module.html#connect"><a title="Priithon.py.dispatcher.connect" class="py-name" href="#" onclick="return doclink('link-21', 'connect', 'link-21');">connect</a></tt><tt class="py-op">(</tt><tt class="py-name">receiver</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Method Priithon.py.editwindow.EditWindow._fontsizer()=Priithon.py.editwindow.EditWindow-class.html#_fontsizer"><a title="Priithon.py.editwindow.EditWindow._fontsizer" class="py-name" href="#" onclick="return doclink('link-22', '_fontsizer', 'link-22');">_fontsizer</a></tt><tt class="py-op">,</tt> <tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontIncrease'</tt><tt class="py-op">)</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt id="link-23" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-23', 'dispatcher', 'link-2');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="Priithon.py.dispatcher.connect" class="py-name" href="#" onclick="return doclink('link-24', 'connect', 'link-21');">connect</a></tt><tt class="py-op">(</tt><tt class="py-name">receiver</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="Priithon.py.editwindow.EditWindow._fontsizer" class="py-name" href="#" onclick="return doclink('link-25', '_fontsizer', 'link-22');">_fontsizer</a></tt><tt class="py-op">,</tt> <tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontDecrease'</tt><tt class="py-op">)</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt id="link-26" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-26', 'dispatcher', 'link-2');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="Priithon.py.dispatcher.connect" class="py-name" href="#" onclick="return doclink('link-27', 'connect', 'link-21');">connect</a></tt><tt class="py-op">(</tt><tt class="py-name">receiver</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="Priithon.py.editwindow.EditWindow._fontsizer" class="py-name" href="#" onclick="return doclink('link-28', '_fontsizer', 'link-22');">_fontsizer</a></tt><tt class="py-op">,</tt> <tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontDefault'</tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-comment">#seb:    http://wiki.wxpython.org/index.cgi/StyledTextCtrl_Log_Window_Demo</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_styles</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-name">None</tt><tt class="py-op">]</tt><tt class="py-op">*</tt><tt class="py-number">32</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_free</tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt> </tt>
</div><a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"> </tt>
<a name="EditWindow._fontsizer"></a><div id="EditWindow._fontsizer-def"><a name="L116"></a><tt class="py-lineno">116</tt> <a class="py-toggle" href="#" id="EditWindow._fontsizer-toggle" onclick="return toggle('EditWindow._fontsizer');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#_fontsizer">_fontsizer</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">signal</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow._fontsizer-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow._fontsizer-expanded"><a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-docstring">"""Receiver for Font* signals."""</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">        <tt id="link-29" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-29', 'size', 'link-16');">size</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetZoom</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">signal</tt> <tt class="py-op">==</tt> <tt class="py-string">'FontIncrease'</tt><tt class="py-op">:</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">            <tt id="link-30" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-30', 'size', 'link-16');">size</a></tt> <tt class="py-op">+=</tt> <tt class="py-number">1</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">signal</tt> <tt class="py-op">==</tt> <tt class="py-string">'FontDecrease'</tt><tt class="py-op">:</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">            <tt id="link-31" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-31', 'size', 'link-16');">size</a></tt> <tt class="py-op">-=</tt> <tt class="py-number">1</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">signal</tt> <tt class="py-op">==</tt> <tt class="py-string">'FontDefault'</tt><tt class="py-op">:</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">            <tt id="link-32" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-32', 'size', 'link-16');">size</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetZoom</tt><tt class="py-op">(</tt><tt id="link-33" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-33', 'size', 'link-16');">size</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.__config"></a><div id="EditWindow.__config-def"><a name="L127"></a><tt class="py-lineno">127</tt> <a class="py-toggle" href="#" id="EditWindow.__config-toggle" onclick="return toggle('EditWindow.__config');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#__config">__config</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.__config-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.__config-expanded"><a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-docstring">"""Configure shell based on user preferences."""</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetMarginType</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_MARGIN_NUMBER</tt><tt class="py-op">)</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetMarginWidth</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-number">40</tt><tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line"> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetLexer</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_LEX_PYTHON</tt><tt class="py-op">)</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetKeyWords</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-string">' '</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">keyword</tt><tt class="py-op">.</tt><tt class="py-name">kwlist</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.setStyles()=Priithon.py.editwindow.EditWindow-class.html#setStyles"><a title="Priithon.py.editwindow.EditWindow.setStyles" class="py-name" href="#" onclick="return doclink('link-34', 'setStyles', 'link-34');">setStyles</a></tt><tt class="py-op">(</tt><tt id="link-35" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-35', 'FACES', 'link-6');">FACES</a></tt><tt class="py-op">)</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetViewWhiteSpace</tt><tt class="py-op">(</tt><tt id="link-36" class="py-name" targets="Variable Priithon.wxPyPlot.False=Priithon.wxPyPlot-module.html#False"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-36', 'False', 'link-36');">False</a></tt><tt class="py-op">)</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetTabWidth</tt><tt class="py-op">(</tt><tt class="py-number">4</tt><tt class="py-op">)</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetUseTabs</tt><tt class="py-op">(</tt><tt id="link-37" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-37', 'False', 'link-36');">False</a></tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">        <tt class="py-comment"># Do we want to automatically pop up command completion options?</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoComplete</tt> <tt class="py-op">=</tt> <tt id="link-38" class="py-name" targets="Variable Priithon.wxPyPlot.True=Priithon.wxPyPlot-module.html#True"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-38', 'True', 'link-38');">True</a></tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeMagic</tt> <tt class="py-op">=</tt> <tt id="link-39" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-39', 'True', 'link-38');">True</a></tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeSingle</tt> <tt class="py-op">=</tt> <tt id="link-40" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-40', 'True', 'link-38');">True</a></tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeDouble</tt> <tt class="py-op">=</tt> <tt id="link-41" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-41', 'True', 'link-38');">True</a></tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteCaseInsensitive</tt> <tt class="py-op">=</tt> <tt id="link-42" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-42', 'True', 'link-38');">True</a></tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteSortCaseSensitive</tt><tt class="py-op">=</tt><tt id="link-43" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-43', 'False', 'link-36');">False</a></tt> <tt class="py-comment"># seb: 20100602</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompSetIgnoreCase</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteCaseInsensitive</tt><tt class="py-op">)</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteAutoHide</tt> <tt class="py-op">=</tt> <tt id="link-44" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-44', 'False', 'link-36');">False</a></tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompSetAutoHide</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteAutoHide</tt><tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompStops</tt><tt class="py-op">(</tt><tt class="py-string">' .,;:([)]}\'"\\&lt;&gt;%^&amp;+-=*/|`'</tt><tt class="py-op">)</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-comment"># Do we want to automatically pop up command argument help?</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCallTip</tt> <tt class="py-op">=</tt> <tt id="link-45" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-45', 'True', 'link-38');">True</a></tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">CallTipSetBackground</tt><tt class="py-op">(</tt><tt id="link-46" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-46', 'FACES', 'link-6');">FACES</a></tt><tt class="py-op">[</tt><tt class="py-string">'calltipbg'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">CallTipSetForeground</tt><tt class="py-op">(</tt><tt id="link-47" class="py-name"><a title="Priithon.py.editwindow.FACES" class="py-name" href="#" onclick="return doclink('link-47', 'FACES', 'link-6');">FACES</a></tt><tt class="py-op">[</tt><tt class="py-string">'calltipfg'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetWrapMode</tt><tt class="py-op">(</tt><tt id="link-48" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-48', 'False', 'link-36');">False</a></tt><tt class="py-op">)</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetEndAtLastLine</tt><tt class="py-op">(</tt><tt id="link-49" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-49', 'False', 'link-36');">False</a></tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">:</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">            <tt class="py-keyword">pass</tt> </tt>
</div><a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.setStyles"></a><div id="EditWindow.setStyles-def"><a name="L160"></a><tt class="py-lineno">160</tt> <a class="py-toggle" href="#" id="EditWindow.setStyles-toggle" onclick="return toggle('EditWindow.setStyles');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#setStyles">setStyles</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">faces</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.setStyles-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.setStyles-expanded"><a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">        <tt class="py-docstring">"""Configure font size, typeface and color for lexer."""</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">        <tt class="py-comment"># Default style</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_STYLE_DEFAULT</tt><tt class="py-op">,</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">                          <tt class="py-string">"face:%(mono)s,size:%(size)d,back:%(backcol)s"</tt> <tt class="py-op">%</tt> \ </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">                          <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleClearAll</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-comment"># Built in styles</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_STYLE_LINENUMBER</tt><tt class="py-op">,</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">                          <tt class="py-string">"back:#C0C0C0,face:%(mono)s,size:%(lnsize)d"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_STYLE_CONTROLCHAR</tt><tt class="py-op">,</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">                          <tt class="py-string">"face:%(mono)s"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_STYLE_BRACELIGHT</tt><tt class="py-op">,</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#0000FF,back:#FFFF88"</tt><tt class="py-op">)</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_STYLE_BRACEBAD</tt><tt class="py-op">,</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#FF0000,back:#FFFF88"</tt><tt class="py-op">)</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line"> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-comment"># Python styles</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_DEFAULT</tt><tt class="py-op">,</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">                          <tt class="py-string">"face:%(mono)s"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_COMMENTLINE</tt><tt class="py-op">,</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#007F00,face:%(mono)s"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_NUMBER</tt><tt class="py-op">,</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">                          <tt class="py-string">""</tt><tt class="py-op">)</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_STRING</tt><tt class="py-op">,</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#7F007F,face:%(mono)s"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_CHARACTER</tt><tt class="py-op">,</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#7F007F,face:%(mono)s"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_WORD</tt><tt class="py-op">,</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#00007F,bold"</tt><tt class="py-op">)</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_TRIPLE</tt><tt class="py-op">,</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#7F0000"</tt><tt class="py-op">)</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_TRIPLEDOUBLE</tt><tt class="py-op">,</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#000033,back:#FFFFE8"</tt><tt class="py-op">)</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_CLASSNAME</tt><tt class="py-op">,</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#0000FF,bold"</tt><tt class="py-op">)</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_DEFNAME</tt><tt class="py-op">,</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#007F7F,bold"</tt><tt class="py-op">)</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_OPERATOR</tt><tt class="py-op">,</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line">                          <tt class="py-string">""</tt><tt class="py-op">)</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_IDENTIFIER</tt><tt class="py-op">,</tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">                          <tt class="py-string">""</tt><tt class="py-op">)</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_COMMENTBLOCK</tt><tt class="py-op">,</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#7F7F7F"</tt><tt class="py-op">)</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetSpec</tt><tt class="py-op">(</tt><tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_STRINGEOL</tt><tt class="py-op">,</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">                          <tt class="py-string">"fore:#000000,face:%(mono)s,back:#E0C0E0,eolfilled"</tt> <tt class="py-op">%</tt> <tt class="py-name">faces</tt><tt class="py-op">)</tt> </tt>
</div><a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.OnUpdateUI"></a><div id="EditWindow.OnUpdateUI-def"><a name="L210"></a><tt class="py-lineno">210</tt> <a class="py-toggle" href="#" id="EditWindow.OnUpdateUI-toggle" onclick="return toggle('EditWindow.OnUpdateUI');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#OnUpdateUI">OnUpdateUI</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.OnUpdateUI-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.OnUpdateUI-expanded"><a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">        <tt class="py-docstring">"""Check for matching braces."""</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">        <tt class="py-comment"># If the auto-complete window is up let it do its thing.</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">CallTipActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">        <tt class="py-name">braceAtCaret</tt> <tt class="py-op">=</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">        <tt class="py-name">braceOpposite</tt> <tt class="py-op">=</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">        <tt class="py-name">charBefore</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line">        <tt class="py-name">caretPos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetCurrentPos</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">caretPos</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">            <tt class="py-name">charBefore</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetCharAt</tt><tt class="py-op">(</tt><tt class="py-name">caretPos</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">            <tt class="py-name">styleBefore</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetStyleAt</tt><tt class="py-op">(</tt><tt class="py-name">caretPos</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line"> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">        <tt class="py-comment"># Check before.</tt> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">charBefore</tt> <tt class="py-keyword">and</tt> <tt class="py-name">chr</tt><tt class="py-op">(</tt><tt class="py-name">charBefore</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-string">'[]{}()'</tt> \ </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">        <tt class="py-keyword">and</tt> <tt class="py-name">styleBefore</tt> <tt class="py-op">==</tt> <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_OPERATOR</tt><tt class="py-op">:</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line">            <tt class="py-name">braceAtCaret</tt> <tt class="py-op">=</tt> <tt class="py-name">caretPos</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line"> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">        <tt class="py-comment"># Check after.</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">braceAtCaret</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">            <tt class="py-name">charAfter</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetCharAt</tt><tt class="py-op">(</tt><tt class="py-name">caretPos</tt><tt class="py-op">)</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">            <tt class="py-name">styleAfter</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetStyleAt</tt><tt class="py-op">(</tt><tt class="py-name">caretPos</tt><tt class="py-op">)</tt> </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">charAfter</tt> <tt class="py-keyword">and</tt> <tt class="py-name">chr</tt><tt class="py-op">(</tt><tt class="py-name">charAfter</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-string">'[]{}()'</tt> \ </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line">            <tt class="py-keyword">and</tt> <tt class="py-name">styleAfter</tt> <tt class="py-op">==</tt> <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">STC_P_OPERATOR</tt><tt class="py-op">:</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">                <tt class="py-name">braceAtCaret</tt> <tt class="py-op">=</tt> <tt class="py-name">caretPos</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line"> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">braceAtCaret</tt> <tt class="py-op">&gt;=</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">            <tt class="py-name">braceOpposite</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">BraceMatch</tt><tt class="py-op">(</tt><tt class="py-name">braceAtCaret</tt><tt class="py-op">)</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line"> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">braceAtCaret</tt> <tt class="py-op">!=</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt>  <tt class="py-keyword">and</tt> <tt class="py-name">braceOpposite</tt> <tt class="py-op">==</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">BraceBadLight</tt><tt class="py-op">(</tt><tt class="py-name">braceAtCaret</tt><tt class="py-op">)</tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">BraceHighlight</tt><tt class="py-op">(</tt><tt class="py-name">braceAtCaret</tt><tt class="py-op">,</tt> <tt class="py-name">braceOpposite</tt><tt class="py-op">)</tt> </tt>
</div><a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.CanCopy"></a><div id="EditWindow.CanCopy-def"><a name="L244"></a><tt class="py-lineno">244</tt> <a class="py-toggle" href="#" id="EditWindow.CanCopy-toggle" onclick="return toggle('EditWindow.CanCopy');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#CanCopy">CanCopy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.CanCopy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.CanCopy-expanded"><a name="L245"></a><tt class="py-lineno">245</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if text is selected and can be copied."""</tt> </tt>
<a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetSelectionStart</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">!=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetSelectionEnd</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.CanCut"></a><div id="EditWindow.CanCut-def"><a name="L248"></a><tt class="py-lineno">248</tt> <a class="py-toggle" href="#" id="EditWindow.CanCut-toggle" onclick="return toggle('EditWindow.CanCut');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#CanCut">CanCut</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.CanCut-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.CanCut-expanded"><a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if text is selected and can be cut."""</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.CanCopy()=Priithon.py.editwindow.EditWindow-class.html#CanCopy"><a title="Priithon.py.editwindow.EditWindow.CanCopy" class="py-name" href="#" onclick="return doclink('link-50', 'CanCopy', 'link-50');">CanCopy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.CanEdit()=Priithon.py.editwindow.EditWindow-class.html#CanEdit,Method Priithon.py.shell.Shell.CanEdit()=Priithon.py.shell.Shell-class.html#CanEdit"><a title="Priithon.py.editwindow.EditWindow.CanEdit
Priithon.py.shell.Shell.CanEdit" class="py-name" href="#" onclick="return doclink('link-51', 'CanEdit', 'link-51');">CanEdit</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.CanEdit"></a><div id="EditWindow.CanEdit-def"><a name="L252"></a><tt class="py-lineno">252</tt> <a class="py-toggle" href="#" id="EditWindow.CanEdit-toggle" onclick="return toggle('EditWindow.CanEdit');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#CanEdit">CanEdit</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.CanEdit-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.CanEdit-expanded"><a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if editing should succeed."""</tt> </tt>
<a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetReadOnly</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.CanPaste"></a><div id="EditWindow.CanPaste-def"><a name="L256"></a><tt class="py-lineno">256</tt> <a class="py-toggle" href="#" id="EditWindow.CanPaste-toggle" onclick="return toggle('EditWindow.CanPaste');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#CanPaste">CanPaste</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.CanPaste-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.CanPaste-expanded"><a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if pasting should succeed."""</tt> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">stc</tt><tt class="py-op">.</tt><tt class="py-name">StyledTextCtrl</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.CanPaste()=Priithon.py.editwindow.EditWindow-class.html#CanPaste,Method Priithon.py.shell.Shell.CanPaste()=Priithon.py.shell.Shell-class.html#CanPaste"><a title="Priithon.py.editwindow.EditWindow.CanPaste
Priithon.py.shell.Shell.CanPaste" class="py-name" href="#" onclick="return doclink('link-52', 'CanPaste', 'link-52');">CanPaste</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="Priithon.py.editwindow.EditWindow.CanEdit
Priithon.py.shell.Shell.CanEdit" class="py-name" href="#" onclick="return doclink('link-53', 'CanEdit', 'link-51');">CanEdit</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line"> </tt>
<a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line"> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">    <tt class="py-comment"># seb added this inspired by </tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment">#    http://wiki.wxpython.org/index.cgi/StyledTextCtrl_Log_Window_Demo</tt> </tt>
<a name="EditWindow.getStyle"></a><div id="EditWindow.getStyle-def"><a name="L263"></a><tt class="py-lineno">263</tt> <a class="py-toggle" href="#" id="EditWindow.getStyle-toggle" onclick="return toggle('EditWindow.getStyle');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#getStyle">getStyle</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">c</tt><tt class="py-op">=</tt><tt class="py-string">'black'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.getStyle-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.getStyle-expanded"><a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line"><tt class="py-docstring">        Returns a style for a given colour if one exists.  If no style</tt> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line"><tt class="py-docstring">        exists for the colour, make a new style.</tt> </tt>
<a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line"><tt class="py-docstring">        If we run out of styles, (only 32 allowed here) we go to the top</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line"><tt class="py-docstring">        of the list and reuse previous styles.</tt> </tt>
<a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L271"></a><tt class="py-lineno">271</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">        <tt class="py-name">free</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_free</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">c</tt> <tt class="py-keyword">and</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">,</tt> <tt class="py-name">unicode</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line">            <tt class="py-name">c</tt> <tt class="py-op">=</tt> <tt class="py-name">c</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line">            <tt class="py-name">c</tt> <tt class="py-op">=</tt> <tt class="py-string">'black'</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line"> </tt>
<a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L279"></a><tt class="py-lineno">279</tt>  <tt class="py-line">            <tt class="py-name">style</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_styles</tt><tt class="py-op">.</tt><tt class="py-name">index</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt> </tt>
<a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">style</tt> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line"> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line">            <tt class="py-name">style</tt> <tt class="py-op">=</tt> <tt class="py-name">free</tt> </tt>
<a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_styles</tt><tt class="py-op">[</tt><tt class="py-name">style</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">c</tt> </tt>
<a name="L285"></a><tt class="py-lineno">285</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StyleSetForeground</tt><tt class="py-op">(</tt><tt class="py-name">style</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">NamedColour</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L286"></a><tt class="py-lineno">286</tt>  <tt class="py-line"> </tt>
<a name="L287"></a><tt class="py-lineno">287</tt>  <tt class="py-line">            <tt class="py-name">free</tt> <tt class="py-op">+=</tt> <tt class="py-number">1</tt> </tt>
<a name="L288"></a><tt class="py-lineno">288</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">free</tt> <tt class="py-op">&gt;</tt><tt class="py-number">31</tt><tt class="py-op">:</tt> </tt>
<a name="L289"></a><tt class="py-lineno">289</tt>  <tt class="py-line">                <tt class="py-name">free</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
<a name="L290"></a><tt class="py-lineno">290</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_free</tt> <tt class="py-op">=</tt> <tt class="py-name">free</tt> </tt>
<a name="L291"></a><tt class="py-lineno">291</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">style</tt> </tt>
</div><a name="L292"></a><tt class="py-lineno">292</tt>  <tt class="py-line"> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.write"></a><div id="EditWindow.write-def"><a name="L294"></a><tt class="py-lineno">294</tt> <a class="py-toggle" href="#" id="EditWindow.write-toggle" onclick="return toggle('EditWindow.write');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editwindow.EditWindow-class.html#write">write</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">text</tt><tt class="py-op">,</tt> <tt class="py-param">c</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.write-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.write-expanded"><a name="L295"></a><tt class="py-lineno">295</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L296"></a><tt class="py-lineno">296</tt>  <tt class="py-line"><tt class="py-docstring">        Add the text to the end of the control using colour c which</tt> </tt>
<a name="L297"></a><tt class="py-lineno">297</tt>  <tt class="py-line"><tt class="py-docstring">        should be suitable for feeding directly to wx.NamedColour.</tt> </tt>
<a name="L298"></a><tt class="py-lineno">298</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L299"></a><tt class="py-lineno">299</tt>  <tt class="py-line"><tt class="py-docstring">        'text' should be a unicode string or contain only ascii data.</tt> </tt>
<a name="L300"></a><tt class="py-lineno">300</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L301"></a><tt class="py-lineno">301</tt>  <tt class="py-line">        <tt class="py-name">style</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name" targets="Method Priithon.py.editwindow.EditWindow.getStyle()=Priithon.py.editwindow.EditWindow-class.html#getStyle"><a title="Priithon.py.editwindow.EditWindow.getStyle" class="py-name" href="#" onclick="return doclink('link-54', 'getStyle', 'link-54');">getStyle</a></tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt> </tt>
<a name="L302"></a><tt class="py-lineno">302</tt>  <tt class="py-line">        <tt class="py-name">lenText</tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">encode</tt><tt class="py-op">(</tt><tt class="py-string">'utf8'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L303"></a><tt class="py-lineno">303</tt>  <tt class="py-line">        <tt class="py-name">end</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetLength</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L304"></a><tt class="py-lineno">304</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AddText</tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L305"></a><tt class="py-lineno">305</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">StartStyling</tt><tt class="py-op">(</tt><tt class="py-name">end</tt><tt class="py-op">,</tt> <tt class="py-number">31</tt><tt class="py-op">)</tt> </tt>
<a name="L306"></a><tt class="py-lineno">306</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStyling</tt><tt class="py-op">(</tt><tt class="py-name">lenText</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L307"></a><tt class="py-lineno">307</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">EnsureCaretVisible</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L308"></a><tt class="py-lineno">308</tt>  <tt class="py-line"> </tt>
<a name="L309"></a><tt class="py-lineno">309</tt>  <tt class="py-line"> </tt>
<a name="L310"></a><tt class="py-lineno">310</tt>  <tt class="py-line">    <tt id="link-55" class="py-name" targets="Method Priithon.py.dispatcher.BoundMethodWeakref.__call__()=Priithon.py.dispatcher.BoundMethodWeakref-class.html#__call__,Method Priithon.py.pseudo.PseudoKeyword.__call__()=Priithon.py.pseudo.PseudoKeyword-class.html#__call__,Method Priithon.useful.deco_memoized.__call__()=Priithon.useful.deco_memoized-class.html#__call__,Method Priithon.viewerRubberbandMode.viewerRubberbandMode.__call__()=Priithon.viewerRubberbandMode.viewerRubberbandMode-class.html#__call__"><a title="Priithon.py.dispatcher.BoundMethodWeakref.__call__
Priithon.py.pseudo.PseudoKeyword.__call__
Priithon.useful.deco_memoized.__call__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__call__" class="py-name" href="#" onclick="return doclink('link-55', '__call__', 'link-55');">__call__</a></tt> <tt class="py-op">=</tt> <tt id="link-56" class="py-name" targets="Method Priithon.Scientific_IO_TextFile.TextFile.write()=Priithon.Scientific_IO_TextFile.TextFile-class.html#write,Method Priithon.py.document.Document.write()=Priithon.py.document.Document-class.html#write,Method Priithon.py.editwindow.EditWindow.write()=Priithon.py.editwindow.EditWindow-class.html#write,Method Priithon.py.pseudo.PseudoFile.write()=Priithon.py.pseudo.PseudoFile-class.html#write,Method Priithon.py.shell.Shell.write()=Priithon.py.shell.Shell-class.html#write"><a title="Priithon.Scientific_IO_TextFile.TextFile.write
Priithon.py.document.Document.write
Priithon.py.editwindow.EditWindow.write
Priithon.py.pseudo.PseudoFile.write
Priithon.py.shell.Shell.write" class="py-name" href="#" onclick="return doclink('link-56', 'write', 'link-56');">write</a></tt> </tt>
</div><a name="L311"></a><tt class="py-lineno">311</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:52 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
